Q3File_GetMode
You can use theQ3File_GetMode
function to determine an open file object's current file mode.
TQ3Status Q3File_GetMode ( TQ3FileObject file, TQ3FileMode *mode);
file
- A file object. This file object must be open.
mode
- On exit, the current file mode of the specified file object.
DESCRIPTION
TheQ3File_GetMode
function returns, in themode
parameter, a set of flags that encodes the current file mode of the file object specified by thefile
parameter. See "File Mode Flags" on page 17-12 for a complete description of the available file mode flags.ERRORS
kQ3ErrorFileNotOpen
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter